how did the ant recognise a friend